Skip to content

Import example bundles built by examples CI - #328

Closed
paweljarosz wants to merge 1 commit into
masterfrom
change-examples-ci
Closed

paweljarosz wants to merge 1 commit into
masterfrom
change-examples-ci

Conversation

@paweljarosz

Copy link
Copy Markdown
Contributor

Summary

Import complete prebuilt example bundle snapshots from defold/examples instead of rebuilding every example on the website. The importer uses the source revision recorded in the snapshot, refreshes the example documentation and index, and rejects older or divergent snapshots.

Validation

  • python -m unittest test_example_scripts.py
  • python -m unittest discover -s tests -p test_example_bundle_import.py
  • Confirmed that SERVICES_GITHUB_TOKEN can download an artifact from defold/examples.

Rollout

Depends on defold/examples#246. Merge that PR first and wait for a successful full snapshot; merge this PR afterwards. Then manually run Update generated site with action examples and verify the published examples. The full cross-repository publishing flow has not yet been tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant